Optimal. Leaf size=98 \[ -\frac{3 (47 x+37)}{5 (2 x+3)^{3/2} \left (3 x^2+5 x+2\right )}-\frac{686}{25 \sqrt{2 x+3}}-\frac{262}{15 (2 x+3)^{3/2}}-10 \tanh ^{-1}\left (\sqrt{2 x+3}\right )+\frac{936}{25} \sqrt{\frac{3}{5}} \tanh ^{-1}\left (\sqrt{\frac{3}{5}} \sqrt{2 x+3}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0802408, antiderivative size = 98, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 5, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.185, Rules used = {822, 828, 826, 1166, 207} \[ -\frac{3 (47 x+37)}{5 (2 x+3)^{3/2} \left (3 x^2+5 x+2\right )}-\frac{686}{25 \sqrt{2 x+3}}-\frac{262}{15 (2 x+3)^{3/2}}-10 \tanh ^{-1}\left (\sqrt{2 x+3}\right )+\frac{936}{25} \sqrt{\frac{3}{5}} \tanh ^{-1}\left (\sqrt{\frac{3}{5}} \sqrt{2 x+3}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 822
Rule 828
Rule 826
Rule 1166
Rule 207
Rubi steps
\begin{align*} \int \frac{5-x}{(3+2 x)^{5/2} \left (2+5 x+3 x^2\right )^2} \, dx &=-\frac{3 (37+47 x)}{5 (3+2 x)^{3/2} \left (2+5 x+3 x^2\right )}-\frac{1}{5} \int \frac{730+705 x}{(3+2 x)^{5/2} \left (2+5 x+3 x^2\right )} \, dx\\ &=-\frac{262}{15 (3+2 x)^{3/2}}-\frac{3 (37+47 x)}{5 (3+2 x)^{3/2} \left (2+5 x+3 x^2\right )}-\frac{1}{25} \int \frac{2090+1965 x}{(3+2 x)^{3/2} \left (2+5 x+3 x^2\right )} \, dx\\ &=-\frac{262}{15 (3+2 x)^{3/2}}-\frac{686}{25 \sqrt{3+2 x}}-\frac{3 (37+47 x)}{5 (3+2 x)^{3/2} \left (2+5 x+3 x^2\right )}-\frac{1}{125} \int \frac{5770+5145 x}{\sqrt{3+2 x} \left (2+5 x+3 x^2\right )} \, dx\\ &=-\frac{262}{15 (3+2 x)^{3/2}}-\frac{686}{25 \sqrt{3+2 x}}-\frac{3 (37+47 x)}{5 (3+2 x)^{3/2} \left (2+5 x+3 x^2\right )}-\frac{2}{125} \operatorname{Subst}\left (\int \frac{-3895+5145 x^2}{5-8 x^2+3 x^4} \, dx,x,\sqrt{3+2 x}\right )\\ &=-\frac{262}{15 (3+2 x)^{3/2}}-\frac{686}{25 \sqrt{3+2 x}}-\frac{3 (37+47 x)}{5 (3+2 x)^{3/2} \left (2+5 x+3 x^2\right )}+30 \operatorname{Subst}\left (\int \frac{1}{-3+3 x^2} \, dx,x,\sqrt{3+2 x}\right )-\frac{2808}{25} \operatorname{Subst}\left (\int \frac{1}{-5+3 x^2} \, dx,x,\sqrt{3+2 x}\right )\\ &=-\frac{262}{15 (3+2 x)^{3/2}}-\frac{686}{25 \sqrt{3+2 x}}-\frac{3 (37+47 x)}{5 (3+2 x)^{3/2} \left (2+5 x+3 x^2\right )}-10 \tanh ^{-1}\left (\sqrt{3+2 x}\right )+\frac{936}{25} \sqrt{\frac{3}{5}} \tanh ^{-1}\left (\sqrt{\frac{3}{5}} \sqrt{3+2 x}\right )\\ \end{align*}
Mathematica [A] time = 0.123823, size = 94, normalized size = 0.96 \[ \frac{1}{75} \left (-\frac{45 (47 x+37)}{(2 x+3)^{3/2} \left (3 x^2+5 x+2\right )}-\frac{2058}{\sqrt{2 x+3}}-\frac{1310}{(2 x+3)^{3/2}}-750 \tanh ^{-1}\left (\sqrt{2 x+3}\right )+2808 \sqrt{\frac{3}{5}} \tanh ^{-1}\left (\sqrt{\frac{3}{5}} \sqrt{2 x+3}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.019, size = 104, normalized size = 1.1 \begin{align*} -{\frac{104}{75} \left ( 3+2\,x \right ) ^{-{\frac{3}{2}}}}-{\frac{1624}{125}{\frac{1}{\sqrt{3+2\,x}}}}-{\frac{306}{125}\sqrt{3+2\,x} \left ( 2\,x+{\frac{4}{3}} \right ) ^{-1}}+{\frac{936\,\sqrt{15}}{125}{\it Artanh} \left ({\frac{\sqrt{15}}{5}\sqrt{3+2\,x}} \right ) }-6\, \left ( 1+\sqrt{3+2\,x} \right ) ^{-1}-5\,\ln \left ( 1+\sqrt{3+2\,x} \right ) -6\, \left ( -1+\sqrt{3+2\,x} \right ) ^{-1}+5\,\ln \left ( -1+\sqrt{3+2\,x} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.45849, size = 157, normalized size = 1.6 \begin{align*} -\frac{468}{125} \, \sqrt{15} \log \left (-\frac{\sqrt{15} - 3 \, \sqrt{2 \, x + 3}}{\sqrt{15} + 3 \, \sqrt{2 \, x + 3}}\right ) - \frac{2 \,{\left (3087 \,{\left (2 \, x + 3\right )}^{3} - 6267 \,{\left (2 \, x + 3\right )}^{2} + 4040 \, x + 6320\right )}}{75 \,{\left (3 \,{\left (2 \, x + 3\right )}^{\frac{7}{2}} - 8 \,{\left (2 \, x + 3\right )}^{\frac{5}{2}} + 5 \,{\left (2 \, x + 3\right )}^{\frac{3}{2}}\right )}} - 5 \, \log \left (\sqrt{2 \, x + 3} + 1\right ) + 5 \, \log \left (\sqrt{2 \, x + 3} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.62132, size = 490, normalized size = 5. \begin{align*} \frac{1404 \, \sqrt{5} \sqrt{3}{\left (12 \, x^{4} + 56 \, x^{3} + 95 \, x^{2} + 69 \, x + 18\right )} \log \left (\frac{\sqrt{5} \sqrt{3} \sqrt{2 \, x + 3} + 3 \, x + 7}{3 \, x + 2}\right ) - 1875 \,{\left (12 \, x^{4} + 56 \, x^{3} + 95 \, x^{2} + 69 \, x + 18\right )} \log \left (\sqrt{2 \, x + 3} + 1\right ) + 1875 \,{\left (12 \, x^{4} + 56 \, x^{3} + 95 \, x^{2} + 69 \, x + 18\right )} \log \left (\sqrt{2 \, x + 3} - 1\right ) - 5 \,{\left (12348 \, x^{3} + 43032 \, x^{2} + 47767 \, x + 16633\right )} \sqrt{2 \, x + 3}}{375 \,{\left (12 \, x^{4} + 56 \, x^{3} + 95 \, x^{2} + 69 \, x + 18\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.08611, size = 157, normalized size = 1.6 \begin{align*} -\frac{468}{125} \, \sqrt{15} \log \left (\frac{{\left | -2 \, \sqrt{15} + 6 \, \sqrt{2 \, x + 3} \right |}}{2 \,{\left (\sqrt{15} + 3 \, \sqrt{2 \, x + 3}\right )}}\right ) - \frac{6 \,{\left (903 \,{\left (2 \, x + 3\right )}^{\frac{3}{2}} - 1403 \, \sqrt{2 \, x + 3}\right )}}{125 \,{\left (3 \,{\left (2 \, x + 3\right )}^{2} - 16 \, x - 19\right )}} - \frac{16 \,{\left (609 \, x + 946\right )}}{375 \,{\left (2 \, x + 3\right )}^{\frac{3}{2}}} - 5 \, \log \left (\sqrt{2 \, x + 3} + 1\right ) + 5 \, \log \left ({\left | \sqrt{2 \, x + 3} - 1 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]